package com.samebuilding.domain;

/**
 * PhotoCategory entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PhotoCategory implements java.io.Serializable {

	// Fields

	private Integer code;
	private String name;
	private Integer userNo;
	private Boolean isPublic;
	

	/** default constructor */
	public PhotoCategory() {
	}

	/** minimal constructor */
	public PhotoCategory(String name) {
		this.name = name;
	}

	/** full constructor */
	public PhotoCategory(String name, Integer userNo) {
		this.name = name;
		this.userNo = userNo;
	}

	// Property accessors

	public Integer getCode() {
		return this.code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getUserNo() {
		return this.userNo;
	}

	public void setUserNo(Integer userNo) {
		this.userNo = userNo;
	}

	public Boolean getIsPublic() {
		return isPublic;
	}

	public void setIsPublic(Boolean isPublic) {
		this.isPublic = isPublic;
	}

}